package com.hmall.mapper;

import com.hmall.model.SysQuestionAnswer;
import com.hmall.util.MyMapper;
import com.hmall.vo.QuestionItemVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysQuestionAnswerMapper extends MyMapper<SysQuestionAnswer> {

    /**
     * @Date 2019/1/28 14:35
     * @Param [id]
     * @return java.util.List<com.hmall.vo.QuestionItemVo>
     * @Description 根据问题主键返回选项列表
     */
    List<QuestionItemVo> selectByQuestionId(@Param("questionId") Integer id);

}